[PATCH] PPC NCG: Generate clear right insn at arch width
authorPeter Trommler <ptrommler@acm.org>
Tue, 7 Nov 2023 20:47:24 +0000 (21:47 +0100)
committerIlias Tsitsimpis <iliastsi@debian.org>
Wed, 13 Dec 2023 10:28:47 +0000 (12:28 +0200)
commit9404def5ae79536640b82729b4cd16622c512e2d
tree21e11e23ef5f7130baca447eb011d817e44b4e14
parentd629557ce59ca5ed863d76497f54116bb7e4225f
[PATCH] PPC NCG: Generate clear right insn at arch width

The clear right immediate (clrrxi) is only available in word and
doubleword width. Generate clrrxi instructions at architecture
width for all MachOp widths.

Fixes #24145

Gbp-Pq: Name ppc64el-fix-clrri
compiler/GHC/CmmToAsm/PPC/CodeGen.hs